package biz.microplus.information.bean;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 用户组数据模型
 */
@Entity
public class UserGroupBean extends BaseBean {
    /**
     * 标识
     */
    @Id
    private int id;
    /**
     * 用户组名
     */
    private String name;
    /**
     * 操作人ID
     */
    private int userId;

    /**
     * 创建时间戳
     */
    private int createdAt;
    /**
     * 更新时间戳
     */
    private int updatedAt;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(int createdAt) {
        this.createdAt = createdAt;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }

}
